﻿<Window
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
	x:Class="structurizer.MainWindow"
	x:Name="MainWindow1"
	Title="Main Window - Structurizer"
	Width="640" Height="480" WindowStartupLocation="CenterScreen">

	<Grid x:Name="LayoutRoot">
		<Grid.RowDefinitions>
			<RowDefinition Height="0.881*"/>
			<RowDefinition Height="0.119*"/>
		</Grid.RowDefinitions>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="0.987*"/>
			<ColumnDefinition Width="0.013*"/>
		</Grid.ColumnDefinitions>
		<Label Content="Input Shape" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="8,29.723,0,0" Background="#FF8DBBC4" RenderTransformOrigin="0.547,1.086" BorderBrush="Black" BorderThickness="0"/>
		<RadioButton Content="GiftWrap Operation Mode" HorizontalAlignment="Left" Margin="98.999,35.723,0,0" VerticalAlignment="Top" Checked="NormalOp_Checked" Name="NormalOp" />
        <RadioButton Content="Vertex Trace Operation Mode" Margin="271,35.723,176,0" VerticalAlignment="Top" Checked="BypassMode_Checked" Name="BypassOp" IsChecked="True" />
        <RadioButton Content="List Input Mode" Margin="0,35.723,11.604,0" VerticalAlignment="Top" HorizontalAlignment="Right" Checked="ListMode_Checked" Name="ListOp" />
        <TextBox Margin="0,70.277,0,17" TextWrapping="Wrap" Style="{DynamicResource SimpleTextBox}" UndoLimit="20" VerticalScrollBarVisibility="Visible" AcceptsReturn="True" FontSize="12" HorizontalAlignment="Right" Width="128.303" Name="vertListInput" TextChanged="vertListInput_Click">
            <TextBox.Background>
                <ImageBrush ImageSource="list_ex.gif" AlignmentX="Left" AlignmentY="Top" Stretch="None" />
            </TextBox.Background>
        </TextBox>
        <Label Content="List of Vertices:" Margin="0,53,53.487,0" Style="{DynamicResource SimpleLabel}" VerticalAlignment="Top" HorizontalAlignment="Right"/>
        <Menu Height="21" VerticalAlignment="Top" Grid.ColumnSpan="2">
			<MenuItem Header="_File">
				<MenuItem Header="_Open Shape..."/>
				<MenuItem Header="_Save Shape..."/>
				<Separator Height="2" Margin="0"/>
                <MenuItem Header="Exit" Click="exitClick" InputGestureText="(Alt+F4)"/>
			</MenuItem>
			<MenuItem Header="_Edit">
				<MenuItem x:Name="Undo" Header="Undo" InputGestureText="(Ctrl+Z)"/>
				<MenuItem x:Name="Redo" Header="Redo" InputGestureText="(Ctrl+Y)"/>
			</MenuItem>
			<MenuItem Header="_Help">
				<MenuItem Header="About" Click="aboutClick"/>
			</MenuItem>
		</Menu>
        <Button Content="Clear Grid" Margin="500,0,0,12" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="106" Click="clearGrid" Grid.Row="1" />
        <Canvas Margin="8,53,132.59,12" Width="Auto" Name="mainCanvas" Grid.RowSpan="2">
            <Border x:Name="CanvasBorder" BorderBrush="Black" BorderThickness="1">
                <Grid Width="Auto" Height="Auto" Name="mainGrid">
                
                </Grid>
            </Border>
        </Canvas>
        <Button Content="Generate Output" Style="{DynamicResource SimpleButton}" Width="111" VerticalAlignment="Bottom" HorizontalAlignment="Right" RenderTransformOrigin="0.027,0.14" Height="25" Click="genOutput" Margin="0,0,0,38" Grid.RowSpan="2" />
    </Grid>
</Window>